package han.chensing.latos.maker.windows.menus.negative;

import com.badlogic.gdx.scenes.scene2d.ui.Skin;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;

import han.chensing.latos.maker.res.Res;
import han.chensing.latos.maker.util.CClickListener;

public class CMenuButton extends TextButton {
    
    public CMenuButton(String name,CClickListener listener){
        super(name, Res.get().get("skinBasic", Skin.class));
        addListener(new CClickListener.CClickListenerAdapter(listener).get());
    }

}
